package com.yboot.framework.plugin.generator.entity;

import java.util.Date;
import java.util.List;

/**
 * 表信息
 *
 * @author yangcs
 * @date 2022-11-10
 */
public class GenTable {

    /**
     * 表名
     */
    private String tableName;

    /**
     * 表的注释
     */
    private String tableComment;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 主键列
     */
    private GenTableColumn pkColumn;

    /**
     * 类名称
     */
    private String className;

    /**
     * 全部列
     */
    private List<GenTableColumn> columns;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableComment() {
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public GenTableColumn getPkColumn() {
        return pkColumn;
    }

    public void setPkColumn(GenTableColumn pkColumn) {
        this.pkColumn = pkColumn;
    }

    public List<GenTableColumn> getColumns() {
        return columns;
    }

    public void setColumns(List<GenTableColumn> columns) {
        this.columns = columns;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
}
